<div class="container-from">
    <form class="layui-form" action=""  id="goodsAttrs" name="goodsAttrs" data-model="goodsAttrs" enctype="multipart/form-data">
        <input type="hidden" value="{{>id}}" name="id" >
        <div class="layui-form-item">
            <label class="layui-form-label">名称：</label>
            <div class="layui-input-block">
                <input type="text" name="name" value="{{>name}}" lay-verify="title" autocomplete="off" placeholder="请输入名称"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">类别描述：</label>
            <div class="layui-input-block">
                <input type="text" name="frontDesc" value="{{>frontDesc}}" lay-verify="title" autocomplete="off"
                       placeholder="请类别描述" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">图标描述：</label>
            <div class="layui-input-block">
                <input type="text" name="frontName" value="{{>frontName}}" lay-verify="title" autocomplete="off"
                       placeholder="图标描述" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">启用状态</label>
                <div class="layui-input-inline">
                    <input type="tel" name="isShow" lay-verify="required|phone" autocomplete="off" value="0" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">图标：</label>
            <div class="layui-input-block layui-upload-drag" id ="uploadBannder">
                <img  src="{{>bannerUrl}}" height="200px" width="400px">
            </div>
        </div>
    </form>
</div>